package dk.seqSite.DFPSeqSite.mainPanel.treePanel.ui {	import flash.display.Sprite;		/**	 * @author josef	 */	public class FoldArrow extends Sprite {		private var _doArrowAsset : FoldArrowAsset;		private var _sprAsset : Sprite;		public function FoldArrow() {						setupElements();		}				private function setupElements() : void {						_doArrowAsset=new FoldArrowAsset();			_sprAsset= Sprite(_doArrowAsset);						addChild(_doArrowAsset);						//:::::::			// setup button 						mouseChildren=false;			buttonMode=true;		}		public function setOpen() : void {			_sprAsset.rotation=90;		}		public function setClosed() : void {			_sprAsset.rotation=0;		}	}}